/*
 * @Author      : ZhouQiJun
 * @Date        : 2025-06-07 16:06:01
 * @LastEditors : ZhouQiJun
 * @LastEditTime: 2025-06-07 16:15:56
 * @Description :
 */
import { test as base } from '@playwright/test'
import type { PlayWrightAiFixtureType } from '@midscene/web/playwright'
import { PlaywrightAiFixture } from '@midscene/web/playwright'

import 'dotenv/config'

export const test = base.extend<PlayWrightAiFixtureType>(
  PlaywrightAiFixture({
    waitForNetworkIdleTimeout: 60 * 1000, // 可选, 交互过程中等待网络空闲的超时时间, 默认值为 2000ms, 设置为 0 则禁用超时
  }),
)
